//
//  DiscoverTableViewController.swift
//  swiftImitationWeibo
//
//  Created by 杨果果 on 16/7/9.
//  Copyright © 2016年 yang. All rights reserved.
//

import UIKit

class DiscoverTableViewController: VisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        if isLogin {
            
        }else{
            vistorView?.updataVisitorViewInfo("登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过", imageName: "visitordiscover_image_message")
        }
        setupUI()
    }
    private func setupUI() {
        let searchView = DiscoverSearchView.serachView()
        searchView.width = self.view.width
        navigationItem.titleView = searchView
        tabBarItem.badgeValue = "哈哈"
    }
}
